using System;

namespace SBPweb.Common.Session
{
	/// <summary>
	/// Class of paging properties
	/// </summary>
    public class PagingProperties
    {

        private int mMaxCount;
        private int mStartIndex;
        private int mPageSize;

		/// <summary>
		/// Constructor of PagingProperties
		/// </summary>
        public PagingProperties()
        {
        }

		/// <summary>
		/// Class of PagingProperties
		/// </summary>
		/// <param name="maxCount">max count</param>
		/// <param name="startIndex">start index</param>
		/// <param name="pageSize">page size</param>
        public PagingProperties(int maxCount, int startIndex, int pageSize)
        {
            mMaxCount = maxCount;
            mStartIndex = startIndex;
            mPageSize = pageSize;
        }

		/// <summary>
		/// Max count
		/// </summary>
        public int MaxCount
        {
            get
            {
                return mMaxCount;
            }
            set
            {
                mMaxCount = value;
            }
        }

		/// <summary>
		/// Start index
		/// </summary>
        public int StartIndex
        {
            get
            {
                return mStartIndex;
            }
            set
            {
                mStartIndex = value;
            }
        }

		/// <summary>
		/// Page size
		/// </summary>
        public int PageSize
        {
            get
            {
                return mPageSize;
            }
            set
            {
                mPageSize = value;
            }
        }

    }

}
